public class Tets {
    public static void main(String[] args) {
        String s1=new String("hello");
        String s2=new String("Hello");
        String s3=new String("HELLO");
        System.out.println(s2.compareToIgnoreCase(s3));//0
        System.out.println(s1.compareToIgnoreCase(s3));//0
    }
}
